#set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
/*
 * Copyright © 2014, Finium Sdn Bhd, All Rights Reserved
 * 
 * NullCacheEventListenerFactory.java
 * Modification History
 * *************************************************************
 * Date				Author						Comment
 * Oct 10, 2012		Venkaiah Chowdary Koneru	Created
 * *************************************************************
 */
package ${package}.support;

import java.util.Properties;

import net.sf.ehcache.event.CacheEventListener;
import net.sf.ehcache.event.CacheEventListenerFactory;

/**
 * EhCache event listener factory for preventing caching of null values in cache
 * data store.
 * 
 * @author Venkaiah Chowdary Koneru
 */
public class NullCacheEventListenerFactory extends CacheEventListenerFactory
{
    /**
     * {@inheritDoc}
     */
    @Override
    public CacheEventListener createCacheEventListener(
            final Properties properties)
    {
        return NullCacheEventListener.INSTANCE;
    }
}
